package org.hdax.dm.client;

import org.hdax.dm.entity.image.DmImage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "dm-base-provider")
public interface DmImageClient {

    @PostMapping(path = "/findByImage")
    List<DmImage> findByImage(@RequestBody DmImage dmImage);
}
